<div id="fksh_tabs" class="easyui-tabs" detail="true" data-options="fit:true,border:false">
    <div title="付款单信息">
        <table style="width: 100%" class="tb tab-t t-bor">
            <input type="hidden" id="fksh_detail_id" value="${(fksh.id)!}"/>
            <col width="70px"/>
            <col width=""/>
            <col width="70px"/>
            <col width=""/>
            <col width="70px"/>
            <col width=""/>
            <tr>
                <th style="color:#f45212;">
                    单&nbsp;据&nbsp;&nbsp;号：
                </th>
                <td colspan="3">
                ${(fksh.bm)!}
                </td>
                <th>付款类型：</th>
                <td>
                   <#if (fksh.sfklx)==1>供应付款<#elseif (fksh.sfklx)==2>销售退款</#if>
                </td>
            </tr>
            <tr>
                <th>票据类型：</th>
                <td>
                ${(fksh.pjlx.z)!}
                </td>
                <th>关联企业：</th>
                <td>
                ${(fksh.gldw.qc)!}
                </td>
                <th>款项类型：</th>
                <td>
                <#if (fksh.kxlx)==1>预付款<#elseif (fksh.kxlx)==2>应付款</#if>
                </td>
            </tr>
            <tr>
                <th>款项用途：</th>
                <td>
                ${(fksh.kxyt.z)!}
                </td>
                <#--<th>付款类型：</th>-->
                <#--<td>-->
                <#--${(fksh.hklx.z)!}-->
                <#--</td>-->
                <th>付款金额：</th>
                <td>
                ${(fksh.sfje?string(",##0.00"))!}
                </td>
                <th>付款日期：</th>
                <td>
                ${(fksh.sfkrq?date)!}
                </td>
            </tr>
            <tr>

                <th>申报公司：</th>
                <td>
                ${(fksh.sbgs.qc)!}
                </td>
                <th>申报部门：</th>
                <td>
                ${(fksh.sbbm.qc)!}
                </td>
                <th>申&nbsp;报&nbsp;&nbsp;人：</th>
                <td>
                ${(fksh.sbr.xm)!}
                </td>
            </tr>
            <#--<tr>-->
                <#--<th>合同：</th>-->
                <#--<td colspan="5">-->
                <#--${(fksh.ht.htbm)!}-->
            <#--</tr>-->
            <tr>
                <th>备&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;注：</th>
                <td colspan="5">
                ${(fksh.bz)!}
                </td>
            </tr>
            <tr>
                <th>制单人：</th>
                <td>${(fksh.createUser.xm)!}</td>
                <th>制单时间：</th>
                <td colspan="3">${(fksh.dateCreated)?datetime!}</td>
            </tr>
        </table>
    </div>
    <div title="付款单明细">
        <table id="fksh_fkshmx_table" class="easyui-datagrid" url="${base}/sfgl/fkshmx/fkshmxList?fkshId=${(fksh.id)!}"
               rownumbers="true" fit="true" fitColumns="true">
            <thead>
            <tr>
                <th data-options="field:'fksh.bm',width:100,align: 'center'"  rowspan="2">收付款单号</th>
                <th data-options="field:'jkd.zfsj',width:100,align: 'center'"  rowspan="2">支付日期</th>
                <th data-options="field:'jkd.gys.qc',width:100,align: 'center'"  rowspan="2">收款单位</th>
                <th data-options="field:'jkd.zfkx',width:100,align: 'center'"  rowspan="2">支付款项</th>
                <th data-options="field:'jkd.zffs.z',width:100,align: 'center'"  rowspan="2">支付方式</th>
                <th data-options="field:'jkd.zfje',width:200,formatter:formatJeForHtml2,align: 'right'"  rowspan="2">申请金额(元)</th>
                <th data-options="field:'fkrq',width:100,align: 'center'" rowspan="2">付款日期</th>
                <th data-options="field:'jkd.yfje',width:200,formatter:formatJeForHtml2,align: 'right'"  rowspan="2">已付金额(元)</th>
                <th data-options="field:'bcfkmx',width:200,formatter:formatJeForHtml2,align: 'right'"  rowspan="2">本次付款(元)</th>
            </tr>
            </thead>
        </table>
    </div>
</div